﻿using System;
using System.Runtime.Serialization;

namespace Sharp.DataTransferObject
{
    public partial class MessageDTO : BaseDTO, IDataList
    {
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 小标题
        /// </summary>
        public string Summary { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        public string Content { get; set; }
        /// <summary>
        /// 缩略图
        /// </summary>
        public string Img { get; set; }
        /// <summary>
        /// 消息类型
        /// </summary>
        public MasterDataDTO MsgType { get; set; }

        /// <summary>
        /// 发布时间
        /// </summary>
        public DateTime PublishTime { get; set; }
        /// <summary>
        /// 提前提醒,单位：秒
        /// </summary>
        public DateTime? RemindTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public MasterDataDTO RemindCrowdType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public MasterDataDTO ReceiveType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public MasterDataDTO SendingType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public MasterDataDTO ReceivePortType { get; set; }


        public DateTime? CheckInTime
        {
            get;
            set;
        }

        public Guid? CheckInUserId
        {
            get;
            set;
        }

        public DateTime? ModifiTime
        {
            get;
            set;
        }

        public Guid? ModifiedUserId
        {
            get;
            set;
        }

        public string MsgTypeCode { get; set; }

        public string RemindCrowdCode { get; set; }

        public string ReceiveCode { get; set; }

        public string SendingCode { get; set; }

        public string ReceivePortCode { get; set; }

        public int LineNumber { get; set; }
    }
}
